/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
import android.app.Dialog;

import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class Action {
    @NotNull
    private final Object addWechat;
    @NotNull
    private final Object api;
    @NotNull
    private final Dialog dialog;
    @NotNull
    private final Object downloadApk;
    @NotNull
    private final EventTrack eventTrack;
    @NotNull
    private final Object inputDialog;
    @NotNull
    private final MiniProgramPage miniProgramPage;
    private final boolean needBindWechat;
    private final boolean needLogin;
    @NotNull
    private final Page page;
    @NotNull
    private final Object share;
    @NotNull
    private final Object toast;
    @NotNull
    private final String type;
    @NotNull
    private final Web web;
    @NotNull
    private final WebchatCustomer wechatCustomer;

    public Action(@NotNull Object addWechat, @NotNull Object api, @NotNull Dialog dialog, @NotNull Object downloadApk, @NotNull EventTrack eventTrack, @NotNull Object inputDialog, @NotNull MiniProgramPage miniProgramPage, boolean z, boolean z2, @NotNull Page page, @NotNull Object share, @NotNull Object toast, @NotNull String type, @NotNull Web web, @NotNull WebchatCustomer wechatCustomer) {
        Intrinsics.checkNotNullParameter(addWechat, "addWechat");
        Intrinsics.checkNotNullParameter(api, "api");
        Intrinsics.checkNotNullParameter(dialog, "dialog");
        Intrinsics.checkNotNullParameter(downloadApk, "downloadApk");
        Intrinsics.checkNotNullParameter(eventTrack, "eventTrack");
        Intrinsics.checkNotNullParameter(inputDialog, "inputDialog");
        Intrinsics.checkNotNullParameter(miniProgramPage, "miniProgramPage");
        Intrinsics.checkNotNullParameter(page, "page");
        Intrinsics.checkNotNullParameter(share, "share");
        Intrinsics.checkNotNullParameter(toast, "toast");
        Intrinsics.checkNotNullParameter(type, "type");
        Intrinsics.checkNotNullParameter(web, "web");
        Intrinsics.checkNotNullParameter(wechatCustomer, "wechatCustomer");
        this.addWechat = addWechat;
        this.api = api;
        this.dialog = dialog;
        this.downloadApk = downloadApk;
        this.eventTrack = eventTrack;
        this.inputDialog = inputDialog;
        this.miniProgramPage = miniProgramPage;
        this.needBindWechat = z;
        this.needLogin = z2;
        this.page = page;
        this.share = share;
        this.toast = toast;
        this.type = type;
        this.web = web;
        this.wechatCustomer = wechatCustomer;
    }

    @NotNull
    public final Object component1() {
        return this.addWechat;
    }

    @NotNull
    public final Page component10() {
        return this.page;
    }

    @NotNull
    public final Object component11() {
        return this.share;
    }

    @NotNull
    public final Object component12() {
        return this.toast;
    }

    @NotNull
    public final String component13() {
        return this.type;
    }

    @NotNull
    public final Web component14() {
        return this.web;
    }

    @NotNull
    public final WebchatCustomer component15() {
        return this.wechatCustomer;
    }

    @NotNull
    public final Object component2() {
        return this.api;
    }

    @NotNull
    public final Dialog component3() {
        return this.dialog;
    }

    @NotNull
    public final Object component4() {
        return this.downloadApk;
    }

    @NotNull
    public final EventTrack component5() {
        return this.eventTrack;
    }

    @NotNull
    public final Object component6() {
        return this.inputDialog;
    }

    @NotNull
    public final MiniProgramPage component7() {
        return this.miniProgramPage;
    }

    public final boolean component8() {
        return this.needBindWechat;
    }

    public final boolean component9() {
        return this.needLogin;
    }

    @NotNull
    public final Action copy(@NotNull Object addWechat, @NotNull Object api, @NotNull Dialog dialog, @NotNull Object downloadApk, @NotNull EventTrack eventTrack, @NotNull Object inputDialog, @NotNull MiniProgramPage miniProgramPage, boolean z, boolean z2, @NotNull Page page, @NotNull Object share, @NotNull Object toast, @NotNull String type, @NotNull Web web, @NotNull WebchatCustomer wechatCustomer) {
        Intrinsics.checkNotNullParameter(addWechat, "addWechat");
        Intrinsics.checkNotNullParameter(api, "api");
        Intrinsics.checkNotNullParameter(dialog, "dialog");
        Intrinsics.checkNotNullParameter(downloadApk, "downloadApk");
        Intrinsics.checkNotNullParameter(eventTrack, "eventTrack");
        Intrinsics.checkNotNullParameter(inputDialog, "inputDialog");
        Intrinsics.checkNotNullParameter(miniProgramPage, "miniProgramPage");
        Intrinsics.checkNotNullParameter(page, "page");
        Intrinsics.checkNotNullParameter(share, "share");
        Intrinsics.checkNotNullParameter(toast, "toast");
        Intrinsics.checkNotNullParameter(type, "type");
        Intrinsics.checkNotNullParameter(web, "web");
        Intrinsics.checkNotNullParameter(wechatCustomer, "wechatCustomer");
        return new Action(addWechat, api, dialog, downloadApk, eventTrack, inputDialog, miniProgramPage, z, z2, page, share, toast, type, web, wechatCustomer);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Action)) {
            return false;
        }
        Action action = (Action) obj;
        return Intrinsics.areEqual(this.addWechat, action.addWechat) && Intrinsics.areEqual(this.api, action.api) && Intrinsics.areEqual(this.dialog, action.dialog) && Intrinsics.areEqual(this.downloadApk, action.downloadApk) && Intrinsics.areEqual(this.eventTrack, action.eventTrack) && Intrinsics.areEqual(this.inputDialog, action.inputDialog) && Intrinsics.areEqual(this.miniProgramPage, action.miniProgramPage) && this.needBindWechat == action.needBindWechat && this.needLogin == action.needLogin && Intrinsics.areEqual(this.page, action.page) && Intrinsics.areEqual(this.share, action.share) && Intrinsics.areEqual(this.toast, action.toast) && Intrinsics.areEqual(this.type, action.type) && Intrinsics.areEqual(this.web, action.web) && Intrinsics.areEqual(this.wechatCustomer, action.wechatCustomer);
    }

    @NotNull
    public final Object getAddWechat() {
        return this.addWechat;
    }

    @NotNull
    public final Object getApi() {
        return this.api;
    }

    @NotNull
    public final Dialog getDialog() {
        return this.dialog;
    }

    @NotNull
    public final Object getDownloadApk() {
        return this.downloadApk;
    }

    @NotNull
    public final EventTrack getEventTrack() {
        return this.eventTrack;
    }

    @NotNull
    public final Object getInputDialog() {
        return this.inputDialog;
    }

    @NotNull
    public final MiniProgramPage getMiniProgramPage() {
        return this.miniProgramPage;
    }

    public final boolean getNeedBindWechat() {
        return this.needBindWechat;
    }

    public final boolean getNeedLogin() {
        return this.needLogin;
    }

    @NotNull
    public final Page getPage() {
        return this.page;
    }

    @NotNull
    public final Object getShare() {
        return this.share;
    }

    @NotNull
    public final Object getToast() {
        return this.toast;
    }

    @NotNull
    public final String getType() {
        return this.type;
    }

    @NotNull
    public final Web getWeb() {
        return this.web;
    }

    @NotNull
    public final WebchatCustomer getWechatCustomer() {
        return this.wechatCustomer;
    }

    public int hashCode() {
        int hashCode = ((((((((((((this.addWechat.hashCode() * 31) + this.api.hashCode()) * 31) + this.dialog.hashCode()) * 31) + this.downloadApk.hashCode()) * 31) + this.eventTrack.hashCode()) * 31) + this.inputDialog.hashCode()) * 31) + this.miniProgramPage.hashCode()) * 31;
        boolean z = this.needBindWechat;
        int i2 = 1;
        if (z) {
            z = true;
        }
        int i3 = z ? 1 : 0;
        int i4 = z ? 1 : 0;
        int i5 = z ? 1 : 0;
        int i6 = (hashCode + i3) * 31;
        boolean z2 = this.needLogin;
        if (!z2) {
            i2 = z2 ? 1 : 0;
        }
        return ((((((((((((i6 + i2) * 31) + this.page.hashCode()) * 31) + this.share.hashCode()) * 31) + this.toast.hashCode()) * 31) + this.type.hashCode()) * 31) + this.web.hashCode()) * 31) + this.wechatCustomer.hashCode();
    }

    @NotNull
    public String toString() {
        return "Action(addWechat=" + this.addWechat + ", api=" + this.api + ", dialog=" + this.dialog + ", downloadApk=" + this.downloadApk + ", eventTrack=" + this.eventTrack + ", inputDialog=" + this.inputDialog + ", miniProgramPage=" + this.miniProgramPage + ", needBindWechat=" + this.needBindWechat + ", needLogin=" + this.needLogin + ", page=" + this.page + ", share=" + this.share + ", toast=" + this.toast + ", type=" + this.type + ", web=" + this.web + ", wechatCustomer=" + this.wechatCustomer + ')';
    }
}